home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 16 / CU Amiga Magazine's Super CD-ROM 16 (1997-10-16)(EMAP Images)(GB)[!][issue 1997-11].iso / CUCD / Graphics / Ghostscript / gs503src_gs.readme < prev   
Encoding:
Text File  |  1997-09-09  |  2.5 KB  |  67 lines

  1. Short:    Ghostscript5.03 original sources
  2. Author:   GS(Aladdin)/Amiga(Olaf Barthel)/Steffen Opel)/Port(me)
  3. Uploader: Joop.vandeWege@mail.mococo.nl
  4. Type:     gfx/show
  5.  
  6. This is the original Ghostscript source archive in lha format instead
  7. of tar.gz. You'll need the following two archives to be able to recompile
  8. GS:
  9. gs503src_amiga.lha
  10. gs501src_jpg6a.lha
  11. + for png support:
  12. gs501src_png.lha
  13. gs501src_zlib.lha
  14.  
  15.  
  16. Comments/Suggestions/Bugs to:
  17. JoopvandeWege@mail.mococo.nl
  18. Please use a Subject field with the name 'GS503' in it.
  19. Please direct all mail to me except when you're 100% sure it is a GS
  20. problem then you can use the Aladdin email address.
  21.  
  22. Joop van de Wege
  23.  
  24.  
  25. Recompiling GS:
  26. Steps needed to be done to recompile GS from scratch using GCC2.63/2.70:
  27. Get gs503src_gs.lha
  28. Get gs503src_amiga.lha
  29. Get gs501src_jpg6a.lha
  30. Get gs501src_zlib.lha
  31. Get gs501src_png.lha
  32.  
  33. Unpack gs503src to HD, a directory 'gs5.03' will be created.
  34. Unpack to the same HD (files will also be placed into 'gs5.03':
  35. - gs503amiga.lha, overwriting some files. This is OK
  36.   gs503amiga.lha contains:
  37.   - gdevamiga.c, the amiga device driver from Olaf Barthel
  38.   - gdevpipe.c, patched for use with Libnix
  39.   - gp_amiga.c, platform dependant stuff for the Amiga
  40.   - Configure.in/Makefile.in to rebuild Makefile and be able
  41.     to separate source and build directory.
  42.     (now includes 'makefile.libnix' for those without configure)
  43. - gs501src_jpg6a which creates the 'jpeg-6' directory
  44. - gs501src_zlib which creates the 'zlib' directory
  45. - gs501src_png which creates the 'libpng' directory
  46. - edit gcc-head.mak.in, the lines DEVICES_DEVSx= .....
  47.   (add/remove devices to your desire), save!
  48. - cd to your build directory (cd work:build/gs)
  49. - sh work:source/gs5.03/configure --prefix=Ghostscript:
  50.   (configure tests your configuration, generates Makefile)
  51. - make (or use the supplied 'build_gs' script,overrides some settings)
  52. - make install
  53.  
  54. The last two archives are not needed when you don't intend to rebuild GS
  55. with PNG support.
  56.  
  57. If you haven't forgotten to set the stack to a reasonable amount (~50K),
  58. you can sit back and have a cup of coffee. On my A3000 it takes about 2.5h
  59. (1-1.5h when using PowerCache) to compile with the current device driver
  60. set and the file 'gdevamiga.c' needs about 7-8Mb when -O2 is on. It needs
  61. less if you don't optimize :)
  62. Make itself takes another 2Mb so in case of problems just compile
  63. gdevamiga.c on its own and let make resume after that. GCC2.7.2.1 (?) (Aminet)
  64. works with VMM3.3 (on Aminet too).
  65.  
  66. Better yet get the latest gcc compiler from ftp.ninemoons.com/pub/geekgadgets!
  67.